home *** CD-ROM | disk | FTP | other *** search
/ Plug-In Power Pack for Netscape Communicator / Plug-In Power Pack for Netscape Communicator.iso / plugins / dataviews / include / dvlimits.h < prev    next >
C/C++ Source or Header  |  1997-05-08  |  2KB  |  68 lines

  1. /* file -- dvlimits.h
  2. |================================================================
  3. |
  4. |               (c) copyright 1988
  5. |                V.I. Corporation
  6. |
  7. |    Highest and lowest legal values of various data types.
  8. |    To create this file run: Mkdvlimits > dvlimits.h
  9. |    Since dvlimits.h is machine specific,
  10. |    Mkdvlimits should be run on the TARGET machine.
  11. |
  12. |================================================================
  13. */
  14. #ifndef CHAR_MAX
  15. #define    CHAR_MAX    127L        /* 0x7f */
  16. #endif
  17. #ifndef CHAR_MIN
  18. #define    CHAR_MIN    -128L        /* 0xffffff80 */
  19. #endif
  20. #ifndef BYTE_MAX
  21. #define    BYTE_MAX    127L        /* 0x7f */
  22. #endif
  23. #ifndef BYTE_MIN
  24. #define    BYTE_MIN    -128L        /* 0xffffff80 */
  25. #endif
  26. #ifndef UBYTE_MAX
  27. #define    UBYTE_MAX    255L        /* 0xff */
  28. #endif
  29. #ifndef UBYTE_MIN
  30. #define    UBYTE_MIN    0L        /* 0x0 */
  31. #endif
  32. #ifndef SHORT_MAX
  33. #define    SHORT_MAX    32767L        /* 0x7fff */
  34. #endif
  35. #ifndef SHORT_MIN
  36. #define    SHORT_MIN    -32768L        /* 0xffff8000 */
  37. #endif
  38. #ifndef USHORT_MAX
  39. #define    USHORT_MAX    65535L        /* 0xffff */
  40. #endif
  41. #ifndef USHORT_MIN
  42. #define    USHORT_MIN    0L        /* 0x0 */
  43. #endif
  44. #ifndef INT_MAX
  45. #define    INT_MAX        2147483647L    /* 0x7fffffff */
  46. #endif
  47. #ifndef INT_MIN
  48. #define    INT_MIN    (- INT_MAX - 1)    /* 0x80000000 */
  49. #endif
  50. #ifndef UNSIGNED_MAX
  51. #define    UNSIGNED_MAX    0xffffffffL    /* 4294967295 */
  52. #endif
  53. #ifndef UNSIGNED_MIN
  54. #define    UNSIGNED_MIN    0L        /* 0x0 */
  55. #endif
  56. #ifndef LONG_MAX
  57. #define    LONG_MAX    2147483647L    /* 0x7fffffff */
  58. #endif
  59. #ifndef LONG_MIN
  60. #define    LONG_MIN    (- LONG_MAX - 1)    /* 0x80000000 */
  61. #endif
  62. #ifndef ULONG_MAX
  63. #define    ULONG_MAX    0xffffffffL    /* 0x4294967295 */
  64. #endif
  65. #ifndef ULONG_MIN
  66. #define    ULONG_MIN    0L        /* 0x0 */
  67. #endif
  68.